package cn.darkhorse.ticket.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 业务编码规则
 * </p>
 *
 * @author wangxinghui
 * @since 2024-01-11
 */
@Getter
@Setter
  @TableName("mes_code_rules")
@ApiModel(value = "MesCodeRules对象", description = "业务编码规则")
public class MesCodeRules implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("规则定义")
      private String defineRules;

      @ApiModelProperty("位数")
      private Integer digit;

      @ApiModelProperty("规则前缀")
      private String headRule;

      @ApiModelProperty("自增号段")
      private Integer increasingNumber;

      @ApiModelProperty("业务类型")
      private String businessType;


}
